package com.unitd.base.frame.plugin.db.datasource.annotion;

import java.lang.annotation.*;

/**
 * 自定义的动态多数据源注解类
 *
 * @author hudan
 * @version 1.0
 * @filename DataSource.java
 * @copyright www.unitd.com
 * @date 2020-07-08
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface DataSource {
    String name() default "";
}